package com.guigu.youxuan.mapper;

import com.guigu.youxuan.common.vo.OrderDetailsByMidVo;
import com.guigu.youxuan.pojo.OrderDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.youxuan.pojo.SysUsers;

import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liweixin
 * @since 2024-05-15
 */
public interface OrderDetailsMapper extends BaseMapper<OrderDetails> {

    List<OrderDetails> OrderDate(int id);

    List<OrderDetails> queryOrderDetailsByMid2(@Param("merchantIdList")List<Integer> merchantIdList);

    List<OrderDetails> queryOrderDetailsByMid(@Param("merchantIdList")List<Integer> merchantIdList, @Param("date")String date, @Param("date1")String date1);
}
